<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="en-gb" http-equiv="Content-Language" />
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type" />
<style type="text/css">
.style1 {
	font-family: Arial, Helvetica, sans-serif;
}
    .style3
    {
        color: #FFFFFF;
        background-color: #000000;
    }
</style>
</head>

<body style="font-family: Arial, Helvetica, sans-serif">

<h1 class="style1">Edit Life Cycle</h1>
    <p class="style1"><em>What you should do in your daily grind...</em></p>
<h2>1, Perform &quot;SVN Update&quot;</h2>
    <p>Get the latest source on your local PC.</p>
    <h2>2, Make your changes, updates and deletions</h2>
    <p>Working and testing locally, get on with it!</p>
    <h2>3, Preparing to commit your changes</h2>
    <p>Oncemore, get the latest source on your local PC by performing a &quot;SVN Update&quot;. 
        (Somebody else may have made changes too. You may have to resolve conflicts.)</p>
    <h2>3.1 See if the Stageing web site has been edited.</h2>
    <p><em>In time I hope we can ignore this step.</em></p>
    <p>It is possible to make changes directly to the staging web site with a tool such 
        as &quot;Expression Web&quot; and not check the changes in. This is dangerous as:</p>
    <p>1, the changes are not in SVN</p>
    <p>2, changes will be overwritten and lost.</p>
    <p>If you make changes directly to the staging web site a commercial environment 
        without following the deployment proces, you will be shouted at, and forced to 
        make the tea.</p>
    <p>As we're not commerical yet, and don't want to loose changes, check to see if 
        there have been some changes make that are more recent.</p>
    <p>Check the file times on the staging server with this useful tool:</p>
    <p><a href="http://www.thedevmachine.co.uk/laostraveller/latestfiles.aspx">
        http://www.thedevmachine.co.uk/laostraveller/latestfiles.aspx</a></p>
    <p>All files are sorted by edit time. Anything recent should be considered. Do you 
        overwrite it? Who was editing it? Find out who was making the change. Attempt to 
        copy the file over to your file image and check it in. Suffer as you know you 
        are wasting your time because of someone else's lazyness. </p>
    <p>This is a poor process.</p>
    <p>Changes to the web site MUST BE checked in!&nbsp;</p>
    <h2>3.2 Commit your changes to SVN</h2>
    <p>Ideally you should review each file you're checking in.</p>
    <p>Perform a &quot;SVN Commit...&quot;</p>
    <p>Add comments as to the work you've done.</p>
    <h2>4, Pubish your changes to Staging</h2>
    <p>Do a final build then click &quot;Publish&nbsp; Web Site&quot; on 
        www.thedevmachine.co.uk/laostraveller/</p>
    <h2>5, Pubish your changes to Live</h2>
    <p>If there's a significant change you can update the live server.</p>
    <p>Confirm that the staging server is &quot;happy&quot; with your changes.</p>
    <p>Do a final build then click &quot;Publish&nbsp; Web Site&quot; on 
        <a href="http://www.laostraveller.com">www.laostraveller.com</a></p>
    <p>
        A drive is mapped to the live web site with WebDav.</p>
    <p>
        Using WabDav with the Tile Server</p>
        <div style = "background-color:Black">
    <p>
        <span class="style3">C:\Users\Nick&gt;net use * * </span> <a href="http://www.khopchai.me/tileserver">
        <span class="style3">http://www.khopchai.me/tileserver</span></a><br 
            class="style3" />
        <span class="style3">Enter the user name for &#39;www.khopchai.me&#39;: tileserver</span><br 
            class="style3" />
        <span class="style3">Enter the password for </span> <a href="http://www.khopchai.me">
        <span class="style3">www.khopchai.me</span></a><span class="style3">: 
        ****123!</span><br class="style3" />
        <span class="style3">Drive Z: is now connected to </span> <a href="http://www.khopchai.me/tileserver">
        <span class="style3">http://www.khopchai.me/tileserver</span></a><span 
            class="style3">.
        </span>
        <br class="style3" />
        <span class="style3The command completed successfully.</span></p>
    </div>
    <p>See <a href="howto.htm">HowToTo</a> for notes on SVN.</p>

</body>

</html>
